<?php
namespace Admin\Model;
use Think\Model\RelationModel;
/**
* 关联
*/
class ClubModel extends RelationModel
{
	
	protected $_link = array(
		   "users" =>array(
           	 'mapping_type'  => self::BELONGS_TO,
           	 'class_name'    => 'Users',
           	 'foreign_key'   => 'uid',
           	 'mapping_name'  => 'uname',
           	 'as_fields' => 'uname',
           	),
		);
}